package com.rzjm.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 充电收费规则对象 charger_port
 *
 * @author ruoyi
 * @date 2022-05-07
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("charger_power_role")
public class ChargerPowerRole implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String prov;
    private String city;
    /**
     *  所属区县
     */
    private String district;
    /**
     * 类型 0 - 按照功率算的  1 - 按照每度电的价格来算的
     */
    private Integer roleType;
    private String roleNum;
    private String roleName;
    private Double minPower;
    private Double maxPower;
    private BigDecimal singlePriceHour;
    private Integer state;

    /**
     *  所属小区
     */
    private Integer estateId;

    /**
     *  是否是绑定小区的 0 - 不是 1 - 绑定小区的
     */
    private Integer isEstate;
    /**
     *  每度电费用
     */
    private BigDecimal chargerSinglePrice;
    /**
     *  1元 充多少度电
     */
    private BigDecimal  chargerOneCapacityPrice;

    /**
     * 判断斜率查询的最后数据条数
     */
    private Integer limitMin;
}
